package com.daqian.cloud.client.demo3.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author daqian
 * @date 2019/11/4 22:02
 */
@FeignClient("chance-cloud-demo2")
public interface Demo2ServiceFeign {

    @GetMapping("demo2/getStr/{str}")
    String getDemoStr(@PathVariable("str") String str);

    @GetMapping("demo2/test")
    String test();
}
